<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .box{
            height: 300px;
            width: 300px;
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translate(-50%,-50%);
            /* 背景图片 */
            background-image: url("../11day/images/nan.webp");
            background-size: 100% 100%;
           /* 边框 border*/
           border: 27px solid transparent;
           border-image-source: url("../11day/images/1.png");
           border-image-slice: 27;
           /* round 自动计算,尽量完整的填满 */
           /* space,不计算,填满,有可能残缺 */
           border-image-repeat: round;
           /* 边框的大小要与切刀的大小相同 */
        }
    </style>
</head>
<body>
    <div class="box"></div>
</body>
</html>